
//订单支付确认。汇付支付需要 模型
class PaymentOrderPayConfirmModel {
  String? payNo;
  String? payParams;
  String? payType;
  String? payUrl;
  String? outTradeNo;

  PaymentOrderPayConfirmModel({this.payNo, this.payParams, this.payType, this.payUrl,this.outTradeNo});

  PaymentOrderPayConfirmModel.fromJson(Map<String, dynamic> json) {
    payNo = json["payNo"];
    payParams = json["payParams"];
    payType = json["payType"];
    payUrl = json["payUrl"];
     outTradeNo = json["outTradeNo"];
  }

  static List<PaymentOrderPayConfirmModel> fromList(List<Map<String, dynamic>> list) {
    return list.map(PaymentOrderPayConfirmModel.fromJson).toList();
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> _data = <String, dynamic>{};
    _data["payNo"] = payNo;
    _data["outTradeNo"] = outTradeNo;
    _data["payParams"] = payParams;
    _data["payType"] = payType;
    _data["payUrl"] = payUrl;
    return _data;
  }

  PaymentOrderPayConfirmModel copyWith({
    String? payNo,
      String? outTradeNo,
    String? payParams,
    String? payType,
    String? payUrl,
  }) => PaymentOrderPayConfirmModel(
    payNo: payNo ?? this.payNo,
     outTradeNo: outTradeNo ?? this.outTradeNo,
    payParams: payParams ?? this.payParams,
    payType: payType ?? this.payType,
    payUrl: payUrl ?? this.payUrl,
  );
}
